<?php
/**
 * $Id: header.php 223 2010-12-12 02:47:26Z bwanglei@gmail.com $
 */
require_once getViews('module');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
	<title><?php echo $blog_title;?></title>
	<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
	<link href="<?php echo TPLS_URL;?>/style.css" rel="stylesheet" type="text/css" />
	<script src="<?php echo BLOG_URL;?>/lib/js/common_tpl.js" type="text/javascript"></script>
</head><body>
	<div id="content"><div id="header">
		<div id="title_name"><a href="<?php echo BLOG_URL;?>"><?php echo $blogname;?></a></div>
	</div>
	<div id="header_b"><table><tr><td class="sided"><a href="<?php echo $blogUrl;?>">首页</a></td>
	<?php
	foreach ($pages_cache as $page) {
		?><td class="sided"><a href="<?php echo $blogUrl.'/'.$page['id'];?>-article.html"><?php echo $page['title'];?></a></td>
		<?php
	}?>
	</tr></table></div>
